package com.ruoyi.gybj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警规则变更记录对象 gybj_change_rule_record
 * 
 * @author ruoyi
 * @date 2025-11-19
 */
public class ChangeRuleRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 规则变更申请ID */
    @Excel(name = "规则变更申请ID")
    private Long changeApplyId;

    /** 报警规则ID */
    @Excel(name = "报警规则ID")
    private Long ruleId;

    /** 新设定值 */
    @Excel(name = "新设定值")
    private String newVal;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setChangeApplyId(Long changeApplyId) 
    {
        this.changeApplyId = changeApplyId;
    }

    public Long getChangeApplyId() 
    {
        return changeApplyId;
    }

    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }

    public void setNewVal(String newVal) 
    {
        this.newVal = newVal;
    }

    public String getNewVal() 
    {
        return newVal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("changeApplyId", getChangeApplyId())
            .append("ruleId", getRuleId())
            .append("newVal", getNewVal())
            .toString();
    }
}
